<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="{{ asset('admins/css/style.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('admins/css/WdatePicker.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('admins/css/skin_/form.css') }}" />
<link href="umeditor/themes/default/_css/umeditor.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="{{ asset('admins/js/jquery.js') }}"></script>
<script type="text/javascript" src="{{ asset('admins/js/global.js') }}"></script>
<script type="text/javascript" src="{{ asset('admins/js/jquery.select.js') }}"></script>
<script type="text/javascript" src="{{ asset('admins/js/WdatePicker.js') }}"></script>
<script type="text/javascript">
window.UMEDITOR_HOME_URL = 'umeditor/';  // 请换成绝对路径
</script>
<script type="text/javascript" src="{{ asset('admins/js/umeditor.config.js') }}"></script>
<script type="text/javascript" src="{{ asset('admins/js/editor_api.js') }}"></script>
<script type="text/javascript" src="{{ asset('admins/umeditor/lang/zh-cn/zh-cn.js') }}"></script>
<title>基础信息</title>
</head>

<body>
<div id="container">
	<div id="hd">
<!--     @if (count($errors) > 0)
   
        
            @foreach ($errors->all() as $error)
                {{ $error }}
            @endforeach   
    @endif
 -->
    <!-- @if( session('msg'))
        {{ session('msg') }}
    @endif -->
    </div>
    <div id="bd">
    	<div id="main">
            <h2 class="subfild">
            	<span>添加</span>
            </h2>
            <form action="{{ url('admin/adminUserName')}}" method="post">
            <input type='hidden' name='_token' value='{{ csrf_token() }}'>
            <div class="subfild-content base-info">
            	<div class="kv-item ue-clear">

             @if (count($errors) > 0)
             @foreach ($errors->all() as $error)

                 <div style="background: red; width: 300px; height: 20px">
                {{ $error }}
                 </div>
             @endforeach   
             @endif
                 @if( session('msg'))
                 <div style="background: red; width: 300px; height: 20px">
                     {{ session('msg') }}
                 </div>
                 @endif
                <br />
                <br />  
                	<label><span class="impInfo">*</span>管理员名称</label>
                	<div class="kv-item-content">
                    	<input type="text" placeholder="管理员名称" name="adminName" />
                    </div>
                </div>
                <!-- ============ -->
                <div class="kv-item ue-clear">
                    <label><span class="impInfo">*</span>密码</label>
                    <div class="kv-item-content">
                        <input type="text" placeholder="请输入密码" name="adminPass" />
                    </div>
                </div>
                <!-- ========== -->
                <div class="kv-item ue-clear">
                    <label><span class="impInfo">*</span>确认密码</label>
                    <div class="kv-item-content">
                        <input type="text" placeholder="请确认密码"  name="pass" />
                    </div>
                </div>
                <!-- === -->
                <!-- <div class="kv-item ue-clear time">
                	<label><span class="impInfo">*</span>密码</label>
                	<div class="kv-item-content">
                    	<input type="text" placeholder="请输入密码" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
                        <i class="time-icon"></i>
                    </div>
                    <span class="kv-item-tip error">这是一个错误信息</span>
                </div>
                 <div class="kv-item ue-clear time">
                    <label><span class="impInfo">*</span>确认密码</label>
                    <div class="kv-item-content">
                        <input type="text" placeholder="确认入密码" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
                        <i class="time-icon"></i>
                    </div>
                    <span class="kv-item-tip error">这是一个错误信息</span>
                </div>
                <!-- ===== -->
          <!--       <div class="kv-item ue-clear">
                	<label>所在栏目</label>
                	<div class="kv-item-content">
                    	<select>
                        	<option>新闻资讯</option>
                            <option>新闻资讯</option>
                            <option>新闻资讯</option>
                        </select>
                    </div>
                    <span class="kv-item-tip success">成功信息</span>
                </div>
                
                <div class="kv-item ue-clear">
                	<label>是否审核</label>
                	<div class="kv-item-content">
                    	<span class="choose">
                            <span class="checkboxouter">
                                <input type="radio" name="need" />
                                <span class="radio"></span>
                            </span>
                            <span class="text">是</span>
                        </span>
                    	<span class="choose">
                            <span class="checkboxouter">
                                <input type="radio" name="need" />
                                <span class="radio"></span>
                            </span>
                            <span class="text">否</span>
                        </span>
                        
                    </div>
                    <span class="kv-item-tip">标题字数限制在35个字符</span>
                </div>
                
                
                <div class="kv-item ue-clear">
                	<label><span class="impInfo">*</span>缩略图</label>
                	<div class="kv-item-content file">
						<span class="text"></span>
                        <input type="file" />
                        <input type="button" class="button normal long2" value="浏览.." />
                    </div>
                    <span class="kv-item-tip">标题字数限制在35个字符</span>
                </div>
            </div>
            
            <h2 class="subfild">
            	<span>备注资料</span>
            </h2>
            
            <div class="subfild-content remarkes-info">
            	<div class="kv-item ue-clear">
                	<label><span class="impInfo">*</span>文章内容</label>
                	<div class="kv-item-content">
                    	<textarea placeholder="文章内容" id="content" style="width:800px;height:240px;"></textarea>
                    </div>
                </div>
            </div> -->
            
            <div class="buttons">
                <input class="button" type="submit" value="确认添加" />
            </div>
            </form>
        </div>
    </div>
</div>
</body>

<!-- <script type="text/javascript">
	$('select').select();
	showRemind('input[type=text],textarea','color5');
	UM.getEditor('content');
</script> -->
</html>
